<?php
namespace app\index\controller;
use think\Controller;
use tool\Proxy;

class Api extends Controller{
    //ajax代理
    public function proxy(){
        return Proxy::instance()->setValidDomain()->exceptHeader()->run();
    }
}